<form class="form-horizontal" action="{:U('knowledge/categoryEdit')}" method="post" >
	<input type="hidden" name="category_id" value="{$knowledge_category.category_id}"/>
	<div class="control-group">
		<label class="control-label" for="name">{:L('CATEGORY_NAME')}</label>
		<div class="controls">
			<input type="text" id="name" name="name" value="{$knowledge_category.name}"/>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="name">{:L('PARENT_CATEGORY')}</label>
		<div class="controls">
			<select name="parent_id" id="categoryList">
				<option value="0" >{:L('TOP_CATEGORY')}</option>
				<volist  name="category_list" id="vo">
				<option value="{$vo.category_id}" <if condition="($knowledge_category.parent_id eq $vo['category_id'])">selected="selected"</if>>{$vo.name}</option>
				</volist>
			</select>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="name">{:L('DESCRIPTION')}</label>
		<div class="controls">
			<textarea class="span4" name="description">{$knowledge_category.description}</textarea>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="name"></label>
		<div class="controls">
			<input class="btn btn-primary" name='submit' type="submit" value="{:L('SIBMIT')}"/>
			<input class="btn btn-primary" type="reset" value="{:L('RESET')}"/>
		</div>
	</div>
</form>